bitkeeper revision 1.1078 (40f3fba76Iz0xWiPyLNc6VMjsLY3Dw)
authormjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Tue, 13 Jul 2004 15:11:35 +0000 (15:11 +0000)
committermjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Tue, 13 Jul 2004 15:11:35 +0000 (15:11 +0000)
Fix the arg spec for save.

tools/python/xen/lowlevel/xc/xc.c

index eb47e55dfd554e1ebea278c2c31d31c09c0e8f9b..3ee75db7da4986b978219ba0d1f1850c9f6e8df4 100644 (file)
@@ -310,8 +310,7 @@ static PyObject *pyxc_linux_restore(PyObject *self,
 
     static char *kwd_list[] = { "state_file", "progress", "debug", NULL };
 
-    if ( !PyArg_ParseTupleAndKeywords(args, kwds, "is|ii", kwd_list,
-                                      &ioctxt.domain,
+    if ( !PyArg_ParseTupleAndKeywords(args, kwds, "s|ii", kwd_list,
                                       &state_file,
                                       &progress,
                                       &debug) )